# -*- python -*-
# Copyright (c) 2011 The Native Client Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

Import('env')

nexe = env.ComponentProgram('write_to_rodata', ['write_to_rodata.c'],
                            EXTRA_LIBS=['${NONIRT_LIBS}'])

node = env.CommandSelLdrTestNacl(
    'write_to_rodata.out', nexe, declares_exit_status=True)
env.AddNodeToTestSuite(node, ['small_tests'], 'run_write_to_rodata_test')
